<%@ page language="java" import="java.util.*,com.king.cms.orm.FunBean,com.king.cms.common.*" pageEncoding="UTF-8"%>
<%
FunBean funBean=new FunBean();
String  powTem = request.getParameter("pow");
if(powTem != null &&! (powTem = powTem.trim()).equals(""))
{
   try {
		funBean.setPower(new Integer(powTem));
	} catch (Exception e) {
		e.printStackTrace();
	}
}
CMSUtil util=new CMSUtil();
String treeId = "0";
if(session.getAttribute("treeId") != null && !"".equals(session.getAttribute("treeId")))
         treeId = (String)session.getAttribute("treeId");
%>

<%@ include file="include/css.jsp"%><%-- /*包含css样式表*/ --%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" height="26" border="0" cellpadding="0" cellspacing="0" bordercolor="#111111" style="border-collapse: collapse">
  <tr> 
    <td width="1%"><img name="tag" value="<-" border="0" src="<%=imgpath%>js_left.jpg" id="down"    style="CURSOR: hand" width="21" height="27"></td>
    <td width="6%" height="26" align="center" background="<%=imgpath%>top5.gif" bgcolor="A0A1A3">&nbsp;</td>
    <td width="93%" align="left" background="<%=imgpath%>top5.gif" bgcolor="A0A1A3">
	<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" >
        <tr> 
          <td width="48" height="26"><img <%=util.power(request,treeId,imgpath,funBean.getPower(),PowerParameter.add,"1","cms_add")%> name="Image3" width="48" height="26" border="0" ></td>
          <td width="48"><img <%=util.power(request,treeId,imgpath,funBean.getPower(),PowerParameter.amend,"2","cms_amend")%> name="Image2" width="48" height="26" border="0"></td>
          <td width="48"><img <%=util.power(request,treeId,imgpath,funBean.getPower(),PowerParameter.del,"3","cms_del")%>  name="Image2" width="48" height="26" border="0"></td>
          <!-- <td width="48"><img <%=util.power(request,treeId,imgpath,funBean.getPower(),PowerParameter.up,"4","cms_up")%>  name="Image4" width="48" height="26" border="0"></td>-->
          <td width="48"><img <%=util.power(request,treeId,imgpath,funBean.getPower(),PowerParameter.save,"5","cms_save")%> name="Image5" width="48" height="26" border="0"></td>
          
          <td width="48"><img <%=util.power(request,treeId,imgpath,funBean.getPower(),PowerParameter.cls,"7","cms_cls")%> name="Image7" width="48" height="26" border="0"></td>
          
          <td width="48"><img <%=util.power(request,treeId,imgpath,funBean.getPower(),PowerParameter.inquiry,"9","cms_inquiry")%> name="Image9" width="48" height="26" border="0"></td>
          <td width="48"><img <%=util.power(request,treeId,imgpath,funBean.getPower(),PowerParameter.list,"6","cms_list")%> name="Image6" width="48" height="26" border="0"></td>
          <!-- <td width="48"><img <%=util.power(request,treeId,imgpath,funBean.getPower(),PowerParameter.cancel,"8","cms_cancel")%> name="Image8" width="48" height="26" border="0"></td> -->
          <!-- <td width="48"><img src="<%=imgpath%>sy_3.gif" name="Image10" width="48" height="26" border="0"></td>-->
          <td width="500"></td>
        </tr>
      </table>
	</td>
  </tr>
</table>
</body>
</html>
<script type="text/javascript">
<!--

<% if(request.getParameter("pow") != null && 1==2)
{%>
    window.open('<%=basePath%><%=funBean.getUrl() %>','main_mainFrame');<%}%>
//-->
/*****添加*********/
function cms_add(){
	 if(parent.main_mainFrame.ki_add)
	 {
	 	parent.main_mainFrame.ki_add();
	}
}
/*******删除******/
function cms_del(){
 if(parent.main_mainFrame.ki_del){
 	parent.main_mainFrame.ki_del();
	}
}
/******* 修改******/
function cms_amend(){
 if(parent.main_mainFrame.ki_amend){
 	parent.main_mainFrame.ki_amend();
	}
}
/******* 上传******/
function cms_up(){
 if(parent.main_mainFrame.ki_up){
 	parent.main_mainFrame.ki_up();
	}
}
/******* 列表******/
function cms_list(){
 if(parent.main_mainFrame.ki_list){
 	parent.main_mainFrame.ki_list();
	}
}

/*******保存******/
function cms_save(){
 	if(parent.main_mainFrame.ki_save)
 	{
 		parent.main_mainFrame.ki_save();
	}
}

/*******清空******/
function cms_cls(){
 	if(parent.main_mainFrame.ki_cls)
 	{
 		parent.main_mainFrame.ki_cls();
	}
}

/*******取消******/
function cms_cancel(){
 	//if(parent.main_mainFrame.ki_cancel)
 	//{
 	//	parent.main_mainFrame.ki_cancel();
	//}
	parent.main_mainFrame.history.back(-1);
}

/*******查询******/
function cms_inquiry(){
 	if(parent.main_mainFrame.ki_inquiry)
 	{
 		parent.main_mainFrame.ki_inquiry();
	}
}
</script>
